package qlc;
import java.io.*;
public class TestObjectOutputStream {
    public static void main(String[] args) throws IOException{
        try(
                ObjectOutputStream output= new ObjectOutputStream(new FileOutputStream("object.dat"));
                ){
            output.writeUTF("覃立春");
            output.writeDouble(85);
            output.writeObject(new java.util.Date());

        }
    }
}
